import { createApp } from "vue";

/**
 * 自定义指令
 */
const app: any = createApp({});
app.directive("v-scrollTable", {
  //
  created(el, binding, vnode, prevVnode) {
    console.log(el, binding, vnode, prevVnode, "created");
  },
  beforeMount(el, binding, vnode, prevVnode) {},
  mounted(el, binding, vnode, prevVnode) {},
  beforeUpdate(el, binding, vnode, prevVnode) {},
  update(el, binding, vnode, prevVnode) {},
  beforeUnmount(el, binding, vnode, prevVnode) {},
  unMounted(el, binding, vnode, prevVnode) {}
});
